#include "rudder.h"
namespace robot {
Rudder::Rudder(int id, Dashboard &board) :
		m_ID(id), p_board(&board) {
}

Rudder::~Rudder() {
}

void Rudder::rotate(int angle, int times) {
	ICommand *command = new Command(m_ID, angle, times);
	p_board->execute(command);
	delete command;
}
}

